#ifndef _SNIFFER_H_
#define _SNIFFER_H_

typedef struct {
    uint8_t mac[6];
    signed rssi: 8;           /**< signal intensity of packet */
} sniffer_mac_info_t;
typedef void (* sniffer_cb_t)(sniffer_mac_info_t *buf,uint16_t len);

void sniffer_init(void);
void sniffer_start(void);
void sniffer_stop(void);
void sniffer_set_read_cb(sniffer_cb_t pcallback);

#endif